package com.ciaojian.store.model.bo;

import com.ciaojian.core.enums.business.OrderCustomerTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author Atlakyn
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class OperationMemberOrderBO {
    @ApiModelProperty("订单id")
    private Integer orderId;

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("门店名称")
    private String storeName;

    @ApiModelProperty("订单号")
    private String orderNo;

    @ApiModelProperty("购买-开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startAddTime;

    @ApiModelProperty("购买-结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endAddTime;

    @ApiModelProperty("顾客属性")
    private OrderCustomerTypeEnum customerType;

    @ApiModelProperty("邀请发型师")
    private Integer inviterId;

    @ApiModelProperty("页码")
    @Builder.Default
    private Integer pageNo = 0;

    @ApiModelProperty("页码大小")
    @Builder.Default
    private Integer pageSize = 6;
}
